.new-tree .iconfont {
  font-size: 17px;
}

.new-tree .custom-content {
  display: flex;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
  padding-right: 10px;
}

.new-tree .custom-content .icons {
  display: flex;
}

.new-tree .custom-content .icon-wrap {
  margin-left: 10px;
  display: block;
  text-align: center;
  width: 22px;
  height: 22px;
  line-height: 22px;
  background-color: #ffffff;
  border-radius: 4px;
}

.new-tree .custom-content .cl-blue {
  color: #1677ff;
}

.new-tree .custom-content .cl-green {
  color: #71CE43;
}

.new-tree .custom-content .cl-red {
  color: #FF6365;
}

.new-tree .custom-content .cl-orange {
  color: #ef8742;
}

.new-tree .ant-tree-indent-unit {
  width: 32px;
  margin-right: 5px;
}

.new-tree .ant-tree-indent-unit::before {
  inset-inline-end: 15px;
}

.new-tree .ant-tree-treenode-switcher-close .ant-tree-indent[aria-hidden="true"] .ant-tree-indent-unit:last-child::after,
.new-tree .ant-tree-treenode-switcher-open .ant-tree-indent[aria-hidden="true"] .ant-tree-indent-unit:last-child::after {
  position: absolute;
  top: 50%;
  right: -10px;
  display: inline-block;
  width: 25px;
  height: 1px;
  background-color: #dddddd;
  content: '';
  z-index: 10;
}

.new-tree .ant-tree-treenode-switcher-close .ant-tree-indent[aria-hidden="true"] .ant-tree-indent-unit-end::after,
.new-tree .ant-tree-treenode-switcher-open .ant-tree-indent[aria-hidden="true"] .ant-tree-indent-unit-end::after {
  display: none !important;
}

.new-tree .ant-tree-switcher-noop {
  display: none;
}

.new-tree .ico-docu {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: 100% 100%;
  margin-right: 8px;
}

.new-tree .ico-file {
  margin-right: 5px;
}

.new-tree .ant-tree-treenode-switcher-close .ico-docu {
  background-image: url(../assets/images/ico_close.png);
  background-size: 100% 100%;
}

.new-tree .ant-tree-treenode-switcher-open .ico-docu {
  background-image: url(../assets/images/ico_open.png);
  background-size: 100% 100%;
}

.new-tree .ant-tree-node-content-wrapper,
.new-tree .ant-tree-checkbox + span {
  display: flex;
  border-radius: 2px;
  padding: 0 8px;
}

.new-tree .ant-tree-switcher {
  width: unset;
  margin-left: 9px;
}

.new-tree .node-title {
  white-space: nowrap;
}

.new-tree .ant-tree-checkbox {
  margin-left: 9px;
  margin-right: 2px;
}

.new-tree .ant-tree-checkbox .ant-tree-checkbox-inner {
  border-radius: 2px;
}

.new-tree .ant-tree-title {
  display: flex;
}

.ant-tree {
  color: rgba(0, 0, 0, 0.85);
}

.ant-tree .ant-tree-node-content-wrapper,
.ant-tree .ant-tree-switcher {
  line-height: 32px;
}

.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper {
  display: flex;
  align-items: center;
}

.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected,
.ant-tree .ant-tree-checkbox + span.ant-tree-node-selected {
  color: #1677ff;
}

.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle,
.ant-tree .ant-tree-checkbox + span .ant-tree-iconEle {
  width: auto;
  display: none;
  height: 32px;
  line-height: 32px;
}

.ant-tree .ant-tree-treenode {
  align-items: center;
}

.ant-tree .ant-tree-checkbox {
  margin-block-start: unset;
}

.ant-tree .ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  background-color: #1677ff;
  border-color: #1677ff;
}

.ant-tree .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after {
  background-color: #1677ff;
}

.ant-tree .ant-tree-checkbox-wrapper-checked:not(.ant-tree-checkbox-wrapper-disabled):hover .ant-tree-checkbox-inner,
.ant-tree .ant-tree-checkbox-checked:not(.ant-tree-checkbox-disabled):hover .ant-tree-checkbox-inner {
  background-color: #1677ff;
}

.ant-tree .ant-tree-checkbox-wrapper:not(.ant-tree-checkbox-wrapper-disabled):hover .ant-tree-checkbox-inner,
.ant-tree .ant-tree-checkbox:not(.ant-tree-checkbox-disabled):hover .ant-tree-checkbox-inner {
  border-color: #1677ff;
}

.ant-radio-wrapper .ant-radio-disabled .ant-radio-inner {
  background-color: rgba(0, 0, 0, 0.04) !important;
  border-color: #d9d9d9 !important;
}

.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected,
.ant-tree .ant-tree-checkbox + span.ant-tree-node-selected {
  background-color: #F0F5FF;
}

.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-iconEle,
.ant-tree .ant-tree-checkbox + span.ant-tree-node-selected .ant-tree-iconEle {
  display: inline-block;
  position: absolute;
  right: 0px;
  width: 100px !important;
}

.ant-tree .ant-tree-node-content-wrapper:hover,
.ant-tree .ant-tree-checkbox + span:hover {
  background-color: #f5f5f5;
}

.ant-tree .ant-tree-node-content-wrapper:hover .ant-tree-iconEle,
.ant-tree .ant-tree-checkbox + span:hover .ant-tree-iconEle {
  display: inline-block;
  position: absolute;
  right: 0px;
  width: 100px !important;
}

.ztree-pop-black {
  --antd-arrow-background-color: #262626;
}

.ztree-pop-black .ant-popover-inner {
  border-radius: 6px;
  background-color: #262626;
  box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
}

.ztree-pop-black .ant-popover-inner-content {
  color: white;
}
